neat way to print 2d array

24

import numpy as np
A = [['A', 'B'], ['C', 'D']]
print(np.matrix(A))

Comments

Submit
0 Comments